$(function() {
	zTreeObj = $.fn.zTree.init($("#treeView"), setting, treeNodes);
	zTreeObj.expandAll(true);
});

var setting = {
	view : {
		expandSpeed : "fast" // 节点展开效果
	}
};

var treeNodes = {
	"name" : "后台管理",
	"children" : [
			{
				"name" : "物品分类",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/category/view",
				"target" : "right"
			},
			{
				"name" : "所有物品",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/equipment/index",
				"target" : "right"
			},
			{
				"name" : "所有属性",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/equipment/property/index",
				"target" : "right"
			},
			{
				"name" : "所有前缀",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/equipment/prefix/index",
				"target" : "right"
			},
			{
				"name" : "所有后缀",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/equipment/suffix/index",
				"target" : "right"
			},
			{
				"name" : "装备属性",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/equipment/list",
				"target" : "right"
			},

			{
				"name" : "评分数据",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/scoredata/common/list",
				"target" : "right"
			},
			{
				"name" : "流派数据",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/scoredata/school/list",
				"target" : "right"
			},
			{
				"name" : "访问查看",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/guideinfo/list",
				"target" : "right"
			},
			{
				"name" : "鸣谢管理",
				"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
				"icon" : context
						+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
				"url" : context + "/management/reference/index",
				"target" : "right"
			} ]
};
